package contract

import (
	"email/enum"
)

type Attachment struct {
	FileName string
	Content  string
}

type ReqInput struct {
	Attachments      []*Attachment
	Destination      []string
	FromEmailAddress string
	ReplyToAddresses string
	Subject          string
	TemplateData     string
	TemplateID       enum.MailTypeValue
	TriggerType      string
	Unsubscribe      string
}

type IMail interface {
	Send(input *ReqInput) error
}
